import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/biz/crm/recycle/` + url, ...arg)

/**
 * Api接口管理器
 *
 * @author jbb
 * @date  2023/11/21 14:11
 **/
export default {
	// 提交订单表表单 edit为true时为编辑，默认为新增
	submitForm(data) {
		return request('edit', data)
	},
	// 获取订单表详情
	detail() {
		return request('detail', {}, 'get')
	}
}
